const getters = {
    sidebar: state => state.app.sidebar,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    uid: state => state.user.uid,
    roleId: state => state.user.roleId,
    roleType: state => state.user.roleType,
    menuGenerated: state => state.user.menuGenerated,
    schoolId: state => state.user.schoolId,
    schoolList: state => state.user.schoolList,
    schoolName: state => state.user.schoolName,
    schoolType: state => state.user.schoolType,
    username: state => state.user.username,
    exueUsername: state => state.user.exueUsername,
    introduction: state => state.user.introduction,
    authType: state => state.user.authType,
    status: state => state.user.status,
    roles: state => state.user.roles,
    setting: state => state.user.setting,
    permissionRouters: state => state.permission.routers,
    addRouters: state => state.permission.addRouters,
    routers: state => state.user.routers,
    config: state => state.config,
    // clientType: state => state.user.clientType, // 为了统计在线用户的信息 by cuihd 20171229
    teacherName: state => state.user.teacherName, // 为了在班主任状态时班级默认显示班主任名 by cuihd 20180115
    cardIsOpen: state => state.user.cardIsOpen,
    oldRoleId: state => state.user.oldRoleId,  // add by cuihd 20180620
        // userType: state => state.userType
    phoneData: state => state.page.phoneData,
    selectItem: state => state.page.selectItem,
    selectIndex: state => state.page.selectIndex,
    sIdentityId: state => state.user.sIdentityId,
    authDuobang: state => state.user.authDuobang
};
export default getters
